package me.sdevil507.platform.po.talent_data_transfer.sysdict;

import lombok.Data;
import lombok.EqualsAndHashCode;
import me.sdevil507.supports.jpa.BaseJpaSnowflakeIdEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

/**
 * @description: 数据字典表
 **/
@Data
@EqualsAndHashCode(callSuper = true)
@Entity
@Table(name = "nd_sys_dict")
public class NdSysDict extends BaseJpaSnowflakeIdEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    @Column
    private String typeKey;

    @Column
    private String dName;

    @Column
    private String dCode;

    @Column
    private String dValue;

    @Column
    private String dComment;

    @Column
    private Long parentId;

    @Column
    private Boolean  isDel= false;

    @Column
    private String  ranking;

    @Column
    private String  level;

    @Column
    private Date createTime = new Date();

    @Column
    private Date updateTime = new Date();

}
